package com.xczz.service;

import com.xczz.model.SysRole;
import com.xczz.model.SysUser;
import com.xczz.model.vo.SysRoleVO;
import com.xczz.model.vo.SysUserVO;

import java.util.List;
import java.util.Set;


public interface SysRoleService {
    public int insertRole(SysRoleVO role);
    public int insertRoleMenu(SysRoleVO role);
    public boolean updateRole(SysRoleVO role);
    int deleteRoleByIds(Long[] roleIds);

    List<SysRole> selectRoleAll();
    List<SysRole> selectRoleListByUserId(Long userId);
    public SysRole getRoleById(Long roleId);

    Set<String> selectRolePermissionByUserId(Long userId);
}
